import request from '@/utils/request'
import requestWuChuan from '@/utils/requestWuChuan'

// 添加作业任务
export function addWorkTask(data){
    return request({
      url: '/homeworkTaskController/addWorkTask',
      method: 'post',
      data: data
    })
  }


  // 删除作业任务
export function delWorkTask(data){
    return request({
      url: '/homeworkTaskController/delWorkTask',
      method: 'post',
      data: data
    })
  }

  // 修改作业任务
export function editWorkTask(data){
    return request({
      url: '/homeworkTaskController/editWorkTask',
      method: 'post',
      data: data
    })
  }
  // 查询作业任务
export function queryWorkTaskByName(data){
    return request({
      url: '/homeworkTaskController/queryWorkTaskByName',
      method: 'post',
      data: data
    })
  }

